package net.xiaosaguo.mymall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import net.xiaosaguo.common.utils.PageUtils;
import net.xiaosaguo.mymall.product.entity.AttrGroupEntity;
import net.xiaosaguo.mymall.product.vo.AttrGroupWithAttrVO;
import net.xiaosaguo.mymall.product.vo.SpuItemAttrGroupVO;

import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author xiaosaguo
 * @email guoyx@vip.qq.com
 * @date 2020-06-04 22:35:11
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long catelogId);

    List<AttrGroupWithAttrVO> getAttrGroupWithAttrByCategoryId(Long catelogId);

    List<SpuItemAttrGroupVO> getAttrGroupWithAttrBySpuId(Long spuId, Long catalogId);
}

